package it.milanoeasy.jdoBeans;
/**
 * 
 * @author fgaleaz
 *
 */
public class LocationBean{
	double lat;
	double lon;
	
	public LocationBean(double alat,double alon){
		lat=alat;
		lon=alon;
	}
	
	public LocationBean(String strLat,String strLon){			
		lat=new Double(strLat).doubleValue();
		lon=new Double(strLon).doubleValue();
	}
	
	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public double getLon() {
		return lon;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public String toString(){
		return "Loc("+lat+","+lon+")";
	}		
}
